package com.studay;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class Main {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext annotationConfigApplicationContext = new AnnotationConfigApplicationContext(Config.class);
        UserInterface userService = (UserInterface)annotationConfigApplicationContext.getBean("userService");

        userService.test();
    }
}
